
#ifndef WAVPLAYER_H_
#define WAVPLAYER_H_

#include "Peripherals.h"
#include "pff.h"

#define FCC(c1,c2,c3,c4)	(((DWORD)c4<<24)+((DWORD)c3<<16)+((WORD)c2<<8)+(BYTE)c1)	/* FourCC */

void ramp (int dir);
FRESULT play (const char *dir, const char *fn, FATFS *fs);

#endif //WAVPLAYER_H_
